Feature: Delete a grid
  In order get rid of outdated or wrong grid
  As a grid creator
  I want to delete a grid

  Scenario: Create and delete a grid
    Given I tried to create a grid named "foo" with "foo" description, "10" rows and "10" columns
    When I click link "Grids list"
    And I delete grid "foo"
    Then I should see an empty list of grids

  Scenario: Create 2 grids and delete one of them
    Given I tried to create a grid named "foo" with "foo" description, "10" rows and "10" columns
    And I tried to create a grid named "bar" with "bar" description, "10" rows and "10" columns
    When I click link "Grids list"
    And I delete grid "foo"
    Then I should see only a grid named "bar" with "10" rows and "10" columns on the grids list

